package csu.big_article.pojo;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Data
public class UserPwdDTO {
    @NotNull
    @Pattern(regexp = "^\\S{5,16}$")
    String old_pwd;
    @NotNull
    @Pattern(regexp = "^\\S{5,16}$")
    String new_pwd;
    @NotNull
    @Pattern(regexp = "^\\S{5,16}$")
    String re_pwd;
}
